package org.cubikalabs.todolist.common.events
{
	import flash.events.Event;
	
	import org.cubikalabs.todolist.vo.Todo;
	
	public class TodoListEvent extends Event
	{
		public static const GET_TODOLIST:String = "getTodoList"; 
		public static const CLEAN_TODOLIST:String = "cleanTodoList"; 
		public static const SAVE_TODO:String = "saveTodo"; 
		public static const CREATE_TODO:String = "createTodo"; 
		public static const EDIT_TODO:String = "editTodo"; 
		
		public var todo:Todo;

		public function TodoListEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}